<template>
  <AppPage full>
    <iframe :src="srcPath" frameborder="0" class="wh-full" />
  </AppPage>
</template>

<script setup>
import { useAuthStore } from '@/store'

const route = useRoute()
const srcPath = ref('')
onMounted(async () => {
  const token = useAuthStore().accessToken
  srcPath.value = `${route.meta.originPath}?token=${token}`
})
</script>
